package com.engine4cloud.tdf.supervision.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 矫正对象死亡-请求对象
 */
@Data
@Schema(description = "矫正对象死亡-请求对象")
public class JzdxChangePlaceDTO implements Serializable {
    /**
     * 执行地变更日期
     */
    @Schema(description = "执行地变更日期", example = "2024-01-01")
    private LocalDate jzdbgrq;

    /**
     * 新执行地地址
     */
    @Schema(description = "新执行地地址", example = "**省**市**县**镇**村**号")
    private String xjzddz;

    /**
     * 新执行地所在地区
     */
    @Schema(description = "新执行地所在地区", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    @NotEmpty(message = "新执行地所在地区不能为空")
    private List<String> areaList;
}
